package PatternPrinting;

import java.util.Scanner;

/**
 * Created by revathyr on 7/8/14.
 */
public class PrintVerticalLine {

    public static void main(String[] args){

        PrintVerticalLine print=new PrintVerticalLine();
        Scanner in= new Scanner(System.in);
        System.out.println("enter the number of lines to be printed");
        int n= in.nextInt();
        print.printVerticalLine(n);


    }

    private void printVerticalLine(int n) {

        for(int i=1;i<=n;i++)
        {
            System.out.println("*");
        }

    }
}
